module.exports = {
    //prod
    environment: 'dev',
    database: {
        dbName: 'wxapp',
        host: 'localhost',
        port: 3306,
        user: 'root',
        password: ''
    },
    security: {
        secretKey: "abcdefg",  //非常重要的加密密码
        // 过期时间 1小时   
        expiresIn: 60 * 60*24 //令牌的过期时间
    },
    wx: {
        appId: 'wxf5e54c4cbf60edf9',
        appSecret: 'd9bfa5d411a1a422ac8b9784d58a758f',//d9bfa5d411a1a422ac8b9784d58a758f
        loginUrl:'https://api.weixin.qq.com/sns/jscode2session'
    },
    yushu:{
        detailUrl:'http://t.yushu.im/v2/book/id/%s',
        keywordUrl:'http://t.yushu.im/v2/book/search?q=%s&count=%s&start=%s&summary=%s'
    },
}